//
//  BaseTableViewCell.h
//  YiXiu
//
//  Created by ZHY on 16/6/27.
//  Copyright © 2016年 zzz. All rights reserved.
//

#import <UIKit/UIKit.h>



#define lineSpace  20
#define interSpace 20

#define collectWidth [UIScreen mainScreen].bounds.size.width - 20
#define itemWidth  (collectWidth - interSpace * 3)/4.0
#define itemheigth 40


typedef void(^didSelectItem)(UICollectionViewCell * item, NSIndexPath * index, BOOL isEdit);

@interface BaseTableViewCell : UITableViewCell
@property (nonatomic, strong) UICollectionView *collect;
@property (nonatomic, copy) NSMutableArray * array;
@property(nonatomic, assign) BOOL isEdit;

@property(nonatomic, strong) didSelectItem selectBlock;

- (void)setSelectBlock:(didSelectItem)selectBlock;

- (void)beginShake;
- (void)endShake;
@end

